package com.diao.myhub.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.diao.myhub.model.dto.NotifyDTO;
import com.diao.myhub.model.po.Comment;
import com.diao.myhub.model.po.Notify;

import java.util.List;

public interface NotifyService extends IService<Notify> {
    Notify getNotifyById(Long id);
    int addNotify(Comment comment);
    List<NotifyDTO> getNotifyDTOS(Integer receiver);
    int readMsg(int uid);
    int readOne(Long id);
    int delNotify(Long id);
}
